<template>
  <div class="content_box">
    <div class="home-content-box">
      <div class="home-head">
        <div class="user-msg">
          <div class="tx">
            <img src="@/assets/home-tx.png" alt="" />
            <p>李晓波<span>民警</span></p>
          </div>
          <div class="ts-msg">
            <p class="title">下午好，欢迎登录！</p>
            <p class="text">南岸区分局花园派出所</p>
          </div>
        </div>
      </div>

      <div class="nr-box">
        <el-row :gutter="26">
          <el-col :xs="24" :sm="24" :md="24" :lg="19" :xl="19">
            <div class="left">
              <el-row :gutter="26">
                <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
                  <div class="box">
                    <div class="title-box">
                      <img src="@/assets/home-law-icon1.png" alt="" />
                      <p>保释金缴费任务进度</p>
                    </div>
                    <div class="list" v-for="item in 4">
                      <div class="code-box">
                        <div class="code">
                          <p class="c">案件编号：x5002308934782363412</p>
                          <el-tag type="primary">待缴费</el-tag>
                        </div>
                        <p class="percentage">67%</p>
                      </div>
                      <div class="name-box">
                        <p>姓名：张文</p>
                        <p>保释金金额：<span>¥1,000.00</span></p>
                        <p>案件生成时间：2024-02-19 11:29</p>
                      </div>
                      <div class="line-box">
                        <p class="text on-text">2024-02-19 开始处理</p>
                        <div class="line">
                          <div class="on">
                            <p class="quan"></p>
                            <p class="l"></p>
                          </div>
                          <div>
                            <p class="quan"></p>
                            <p class="l"></p>
                          </div>
                          <div>
                            <p class="quan"></p>
                          </div>
                        </div>
                        <p class="text">结束时间</p>
                      </div>
                      <div class="duration">
                        <p class="text">7/12 耗时7天</p>
                        <div>
                          <p class="on"></p>
                          <p class="on"></p>
                          <p class="on"></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                        </div>
                      </div>
                    </div>
                  </div>
                </el-col>

                <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
                  <div class="box">
                    <div class="title-box">
                      <img src="@/assets/home-law-icon1.png" alt="" />
                      <p>保释金缴费任务进度</p>
                    </div>
                    <div class="list" v-for="item in 4">
                      <div class="code-box">
                        <div class="code">
                          <p class="c">案件编号：x5002308934782363412</p>
                          <el-tag type="primary">待缴费</el-tag>
                        </div>
                        <p class="percentage">67%</p>
                      </div>
                      <div class="name-box">
                        <p>姓名：张文</p>
                        <p>保释金金额：<span>¥1,000.00</span></p>
                        <p>案件生成时间：2024-02-19 11:29</p>
                      </div>
                      <div class="line-box">
                        <p class="text on-text">2024-02-19 开始处理</p>
                        <div class="line">
                          <div class="on">
                            <p class="quan"></p>
                            <p class="l"></p>
                          </div>
                          <div>
                            <p class="quan"></p>
                            <p class="l"></p>
                          </div>
                          <div>
                            <p class="quan"></p>
                          </div>
                        </div>
                        <p class="text">结束时间</p>
                      </div>
                      <div class="duration">
                        <p class="text">7/12 耗时7天</p>
                        <div>
                          <p class="on"></p>
                          <p class="on"></p>
                          <p class="on"></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                          <p></p>
                        </div>
                      </div>
                    </div>
                  </div>
                </el-col>
              </el-row>
            </div>
          </el-col>

          <el-col :xs="24" :sm="24" :md="12" :lg="5" :xl="5">
            <div class="right">
              <div class="top">
                <div class="title-box">
                  <img src="@/assets/home-law-icon1.png" alt="" />
                  <p>保释金缴费任务进度</p>
                </div>
                <div class="list">
                  <div>
                    <div class="icon">
                      <img src="@/assets/home-law-icon1.png" alt="" />
                      <p>缴费台账</p>
                    </div>
                    <el-icon><ArrowRight /></el-icon>
                  </div>
                  <div>
                    <div class="icon">
                      <img src="@/assets/home-law-icon1.png" alt="" />
                      <p>缴费台账</p>
                    </div>
                    <el-icon><ArrowRight /></el-icon>
                  </div>
                  <div>
                    <div class="icon">
                      <img src="@/assets/home-law-icon1.png" alt="" />
                      <p>缴费台账</p>
                    </div>
                    <el-icon><ArrowRight /></el-icon>
                  </div>
                  <div>
                    <div class="icon">
                      <img src="@/assets/home-law-icon1.png" alt="" />
                      <p>缴费台账</p>
                    </div>
                    <el-icon><ArrowRight /></el-icon>
                  </div>
                </div>
              </div>
            </div>
          </el-col>
        </el-row>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
</script>
<style scoped lang="scss">
.home-content-box {
}

.home-head {
  width: 100%;
  height: 250px;
  background: url(../../assets/home_img2.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;

  .user-msg {
    margin-left: 60px;
    display: flex;
    align-items: center;

    .tx {
      text-align: center;
      margin-right: 70px;
    }

    img {
      width: 100px;
      height: 100px;
    }

    p {
      font-size: 20px;
      color: #fff;
      margin-top: 10px;

      span {
        display: inline-block;
        border-radius: 5px;
        border: 1px solid #98ffff;
        font-size: 16px;
        color: #98ffff;
        padding: 2px 6px;
        margin-left: 10px;
      }
    }

    .ts-msg {
      color: #ffffff;

      .title {
        font-size: 26px;
        font-weight: 500;
        margin-bottom: 30px;
      }

      .text {
        font-size: 20px;
        color: #e6ecff;
      }
    }
  }
}

.nr-box {
  margin-top: 24px;
  padding-bottom: 30px;
  .title-box {
    display: flex;
    font-size: 18px;
    color: #222222;
    align-items: center;
    img {
      width: 24px;
      height: 24px;
    }
    p {
      margin-left: 9px;
    }
  }
  .left {
    .box {
      .title-box {
        margin-top: 24px;
      }
      .list {
        padding: 19px 21px;
        background: #fff;
        border-radius: 8px;
        margin-top: 24px;
        .code-box {
          display: flex;
          align-items: center;
          justify-content: space-between;
          .code {
            display: flex;
            align-items: center;
            font-size: 16px;
            .c {
              margin-right: 16px;
            }
          }
          .percentage {
            font-size: 28px;
            font-weight: bold;
            color: #1c55d1;
          }
        }
        .name-box {
          font-size: 14px;
          display: flex;
          justify-content: space-between;
          margin: 12px 0 20px 0;
          span {
            color: #1c55d1;
          }
        }
        .line-box {
          display: flex;
          font-size: 14px;
          color: #999999;
          .on-text {
            color: #1c55d1;
          }
          .line {
            display: flex;
            margin: 0 10px;
            .on {
              .quan {
                background: #1c55d1;
              }
              .l {
                background: #1c55d1;
              }
            }
            & > div {
              display: flex;
              align-items: center;
              .quan {
                width: 15px;
                height: 15px;
                background: #d8d8d8;
                border-radius: 50%;
              }
              .l {
                width: 93px;
                height: 1px;
                background: #d8d8d8;
                margin: 0 5px;
              }
            }
          }
        }
        .duration {
          margin-top: 40px;
          .text {
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            color: #3d3d3d;
          }
          div {
            display: flex;
            justify-content: space-between;
            margin-top: 14px;
            p {
              width: 38px;
              height: 7px;
              background: #d8d8d8;
              margin-right: 9px;
              &:last-child {
                margin-right: 0;
              }
              &.on {
                background: #1c55d1;
              }
            }
          }
        }
      }
    }
  }

  .right {
    margin-top: 24px;
    .top {
      .list {
        background: #fff;
        margin-top: 24px;
        padding: 32px 30px;
        border-radius: 8px;
      }
    }
    .list {
      & > div {
        height: 59px;
        border-radius: 8px;
        background: #eef8ff;
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        margin-bottom: 38px;
        cursor: pointer;
        &:last-child {
          margin-bottom: 0;
        }
        .icon {
          display: flex;
          align-items: center;
          font-size: 14px;
          color: #3d3d3d;
          img {
            width: 25px;
            height: 25px;
            margin-right: 23px;
          }
        }
      }
    }
  }
}

.el-col {
  border-radius: 4px;
}

.grid-content {
  border-radius: 4px;
  min-height: 36px;
  background: #fff;
}
</style>
  